package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 订单请购码值配置信息表
 * </p>
 *
 * @author Wayne
 * @since 2020-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ORDER_KEY_VALUE_CONFIG")
@ApiModel(value="OrderKeyValueConfig对象", description="订单请购码值配置信息表")
public class OrderKeyValueConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "码值对照字段")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "码值对照字段")
    @TableField("FIELD_KEY")
    private String fieldKey;

    @ApiModelProperty(value = "码值对照字段名称")
    @TableField("FIELD_NAME")
    private String fieldName;

    @ApiModelProperty(value = "码值对照代码")
    @TableField("KEY_CODE")
    private String keyCode;

    @ApiModelProperty(value = "码值对照代码描述")
    @TableField("KEY_CODE_DESC")
    private String keyCodeDesc;

    @ApiModelProperty(value = "码值对照代码英文描述")
    @TableField("KEY_CODE_EN_DESC")
    private String keyCodeEnDesc;

    @ApiModelProperty(value = "是否启用（1启用，默认1；0停用；）")
    @TableField("ENABLED")
    private String enabled;

    @ApiModelProperty(value = "排序号")
    @TableField("SORT_NO")
    private Integer sortNo;

    @ApiModelProperty(value = "备注信息")
    @TableField("REMARK")
    private String remark;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getFieldKey() {
        return fieldKey;
    }

    public void setFieldKey(String fieldKey) {
        this.fieldKey = fieldKey;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getKeyCode() {
        return keyCode;
    }

    public void setKeyCode(String keyCode) {
        this.keyCode = keyCode;
    }

    public String getKeyCodeDesc() {
        return keyCodeDesc;
    }

    public void setKeyCodeDesc(String keyCodeDesc) {
        this.keyCodeDesc = keyCodeDesc;
    }

    public String getKeyCodeEnDesc() {
        return keyCodeEnDesc;
    }

    public void setKeyCodeEnDesc(String keyCodeEnDesc) {
        this.keyCodeEnDesc = keyCodeEnDesc;
    }

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "OrderKeyValueConfig{" +
                "uuid='" + uuid + '\'' +
                "fieldKey='" + fieldKey + '\'' +
                ", fieldName='" + fieldName + '\'' +
                ", keyCode='" + keyCode + '\'' +
                ", keyCodeDesc='" + keyCodeDesc + '\'' +
                ", keyCodeEnDesc='" + keyCodeEnDesc + '\'' +
                ", enabled='" + enabled + '\'' +
                ", sortNo=" + sortNo +
                ", remark='" + remark + '\'' +
                '}';
    }
}
